package org.jdcenter.rmi;

import org.jdcenter.rmi.abs.ServerException;
import org.jdcenter.rmi.abs.URLException;

public interface RMIServer{
	
	public void registerSyncJRMPAuto(String rmiPath,Object obj) throws URLException, ServerException;
	
	public void registerSyncIIOPAuto(String rmiPath,Object obj) throws URLException, ServerException;
	
	public void registerAsyncJRMPAuto(String rmiPath,Object obj) throws URLException, ServerException;
	
	public void registerAsyncIIOPAuto(String rmiPath,Object obj) throws URLException, ServerException;
	
	public void registerSyncJRMPCustom(String rmiPath,RMIWrap wrap) throws URLException, ServerException;
	
	public void registerSyncIIOPCustom(String rmiPath,RMIWrap wrap) throws URLException, ServerException;
	
	public void registerAsyncJRMPCustom(String rmiPath,RMIWrap wrap) throws URLException, ServerException;
	
	public void registerAsyncIIOPCustom(String rmiPath,RMIWrap wrap) throws URLException, ServerException;

}
